package com.codeduck.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.codeduck.test.entity.AlarmInfoHis;
import com.codeduck.test.entity.FileInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: <a href="mailto:codeduck@163.com">codeduck</a>
 * @date: 2022/11/06
 */
@Mapper
public interface FileInfoMapper extends BaseMapper<FileInfo> {
    int batchInsert(@Param("fileInfoList") List<FileInfo> fileInfoList);
    int partitionDataCleaning(@Param("part") String part);
    int deleteAll();
}
